package cn.lizemin.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author lzm
 * @version 1.0
 * @description: 库存
 * @date 2022/3/20 15:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
public class Stock {
    private Integer id;
    private String name;
    private Integer count;// 原始库存
    private Integer sale;// 已售
    private Integer version;//乐观锁版本号

}

